<div id="subnav">
    <div class="container_12">
        <div class="grid_12">
            <ul>
                <?php foreach($subnavLinks as $link): ?>
                    <li><a href="<?php echo $link->link; ?>"><?php echo $link->name; ?></a></li>
                <?php endforeach; ?>
            </ul>
        </div>
    </div>
    <div style="clear: both;"></div>
</div>